package com.xiaotu.dto;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigInteger;

/**
 * @author zhangxiao
 * @create 2022-04-02 11:32
 */
@Data
public class BuyPropsCardDto {

    /**
     * 玩家ID
     */
    @NotNull
    private Integer playerId;

    /**
     * 购买道具卡个数
     */
    @NotNull
    @Min(1)
    private Integer propsCardNum;

    /**
     * 消耗的金币
     */
    private Integer consumeGoldCoins;
}
